C# Call API in the browser of Chrome, doesn't enter controller [Solved]


When I call a api in the url of browser, browser like chrome would redirect you to a non-SSL http,
thus your calling would not get into the API.

So, when this kind of problem shows up, make sure the url of your browser is using https,
if the url you type in is http, then that may be failed, changed that into a https request would be a nice way to get the solution.

#HTTPS #C# #API






你可能感興趣的文章

Spring boot系列(五)Controller-Parameter

Spring boot系列(五)Controller-Parameter

[ 筆記 ] - API 基礎、JSON、curl 指令

[ 筆記 ] - API 基礎、JSON、curl 指令

[Py 百日馬 Day 1] Hello World

[Py 百日馬 Day 1] Hello World






留言討論